Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase number of cores used to calculate upsample for YOLO and Stable diffusion #16351

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

nkpatel-tt
Copy link
Contributor

Ticket

Link to Github Issue

Problem description

Currently, Upsample processes one row per core, which can impact the performance.

What's changed

Instead single row per core granularity, make it work for minimum possible shard size for each core.

Checklist

  • Post commit CI passes
  • Blackhole Post commit (if applicable)
  • Model regression CI testing passes (if applicable)
  • Device performance regression CI testing passes (if applicable)
  • (For models and ops writers) Full new models tests passes
  • New/Existing tests provide coverage for changes

…ded tensor inputs.

Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
	ToDo: commonize code.

Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
…trictions-input_width

Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Suggested-by: Pavle Josipović <pavlejosipovic@users.noreply.github.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
…n-remove-restrictions-input_width' into nkpatel/upsample_perf_improve
…e diffusion and yolo.

Signed-off-by: Nilaykumar Patel <nkpatel@tenstorrent.com>
@nkpatel-tt
Copy link
Contributor Author

nkpatel-tt commented Dec 30, 2024

As of now current branch has this branch merged which is being review at PR.

Once that branch is merged, will remove those changes and rebase.

@nkpatel-tt nkpatel-tt changed the title Upsample increase number of cores for YOLO and Stable diffusion Increase number of cores used to calculate upsample for YOLO and Stable diffusion Dec 30, 2024
@nkpatel-tt nkpatel-tt self-assigned this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant